package com.danceforyou.${objectName?uncap_first}.service;

import com.danceforyou.common.service.BaseService;
import com.danceforyou.${objectName?uncap_first}.dao.${objectName}DAO;
import com.danceforyou.${objectName?uncap_first}.model.${objectName}DO;
import com.danceforyou.${objectName?uncap_first}.vo.${objectName}VO;

/**
 * 类名称：${objectName}Service
 * 创建人：danceforyou
 * 创建时间：${nowDate?string("yyyy年MM月dd日")}
 * 版本号：1.0v
 */
<#if priColumn.dataType == "int">
public interface ${objectName}Service extends BaseService<Integer, ${objectName}DO, ${objectName}VO, ${objectName}DAO> {
<#elseif priColumn.dataType == "bigint">
public interface ${objectName}Service extends BaseService<Long, ${objectName}DO, ${objectName}VO, ${objectName}DAO> {
<#else>
public interface ${objectName}Service extends BaseService<String, ${objectName}DO, ${objectName}VO, ${objectName}DAO> {
</#if>

    /**
     * 新增信息
     * @param ${objectName?uncap_first} 信息
     */
    void saveInfo(${objectName}DO ${objectName?uncap_first});

    /**
     * 修改信息
     * @param ${objectName?uncap_first} 信息
     */
    void updateInfo(${objectName}DO ${objectName?uncap_first});

    /**
     * 删除信息
     * @param ids 主键
     * @return 删除条数
     */
    int deleteInfoByIds(String ids);
}